package cn.nfwx.tv.model;

import android.os.Parcel;
import android.os.Parcelable;

public class Movement implements Parcelable {

    /**
     * url : http://www.baidu.com
     * intro : 不容错过精彩
     * title : 世界杯精彩回顾
     */

    private String url;
    private String intro;
    private String title;
    private String image_url;

    public Movement() {
    }

    protected Movement(Parcel in) {
        url = in.readString();
        intro = in.readString();
        title = in.readString();
        image_url = in.readString();
    }

    public static final Creator<Movement> CREATOR = new Creator<Movement>() {
        @Override
        public Movement createFromParcel(Parcel in) {
            return new Movement(in);
        }

        @Override
        public Movement[] newArray(int size) {
            return new Movement[size];
        }
    };

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(url);
        dest.writeString(intro);
        dest.writeString(title);
        dest.writeString(image_url);
    }

    public String getImage_url() {
        return image_url;
    }

    public void setImage_url(String image_url) {
        this.image_url = image_url;
    }
}
